package com.cebbank.yyi.springbootapp.jingtang.entity;

import cn.hutool.core.util.IdUtil;
import com.cebbank.yyi.springbootapp.jingtang.utils.FileUtil;
import lombok.ToString;

import java.util.Date;
import java.io.Serializable;

/**
 * 文档附件列表(RcDocAttachment)实体类
 *
 * @author makejava
 * @since 2024-08-21 23:30:41
 */
@ToString
public class RcDocAttachment implements Serializable {
    private static final long serialVersionUID = -34883683193411147L;
/**
     * 主键Id
     */
    private String id = FileUtil.getSnowId();
/**
     * 附件名称
     */
    private String attachmentName;
/**
     * 附件地址
     */
    private String attachmentUrl;
/**
     * 删除标志（0-未删除 1-已删除）
     */
    private Integer deleteFlag;
/**
     * 创建日期
     */
    private Date createTime;
/**
     * 更新日期
     */
    private Date updateTime;
/**
     * 创建人
     */
    private String creator;
/**
     * 编辑人
     */
    private String modifier;
/**
     * 版本
     */
    private Integer version;
/**
     * 关联文档id
     */
    private String docId;
/**
     * 附件编号
     */
    private String attachmentCode;
/**
     * 文件期限
     */
    private Integer attachmentTerm;
/**
     * 附件发布日期
     */
    private Date attachmentPublish;
/**
     * 附件状态
     */
    private Integer attachmentStatus;
/**
     * 排序字段
     */
    private Integer sortNo;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAttachmentName() {
        return attachmentName;
    }

    public void setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName;
    }

    public String getAttachmentUrl() {
        return attachmentUrl;
    }

    public void setAttachmentUrl(String attachmentUrl) {
        this.attachmentUrl = attachmentUrl;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getDocId() {
        return docId;
    }

    public void setDocId(String docId) {
        this.docId = docId;
    }

    public String getAttachmentCode() {
        return attachmentCode;
    }

    public void setAttachmentCode(String attachmentCode) {
        this.attachmentCode = attachmentCode;
    }

    public Integer getAttachmentTerm() {
        return attachmentTerm;
    }

    public void setAttachmentTerm(Integer attachmentTerm) {
        this.attachmentTerm = attachmentTerm;
    }

    public Date getAttachmentPublish() {
        return attachmentPublish;
    }

    public void setAttachmentPublish(Date attachmentPublish) {
        this.attachmentPublish = attachmentPublish;
    }

    public Integer getAttachmentStatus() {
        return attachmentStatus;
    }

    public void setAttachmentStatus(Integer attachmentStatus) {
        this.attachmentStatus = attachmentStatus;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

}

